home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / RESOURCES / KOOB / common / ui / MessageBoxOkDlg.gui < prev    next >
Encoding:
Text File  |  2005-11-23  |  1.6 KB  |  60 lines

  1. //--- OBJECT WRITE BEGIN ---
  2. new GuiControl(MessageBoxOKDlg) {
  3.    profile = "GuiDefaultProfile";
  4.    horizSizing = "width";
  5.    vertSizing = "height";
  6.    position = "0 0";
  7.    extent = "640 480";
  8.    minExtent = "8 8";
  9.    visible = "1";
  10.    helpTag = "0";
  11.  
  12.    new GuiWindowCtrl(MBOKFrame) {
  13.       profile = "GuiWindowProfile";
  14.       horizSizing = "center";
  15.       vertSizing = "center";
  16.       position = "170 175";
  17.       extent = "300 129";
  18.       minExtent = "48 92";
  19.       visible = "1";
  20.       helpTag = "0";
  21.       maxLength = "255";
  22.       resizeWidth = "1";
  23.       resizeHeight = "1";
  24.       canMove = "1";
  25.       canClose = "0";
  26.       canMinimize = "0";
  27.       canMaximize = "0";
  28.       minSize = "50 50";
  29.  
  30.       new GuiMLTextCtrl(MBOKText) {
  31.          profile = "GuiTextProfile";
  32.          horizSizing = "center";
  33.          vertSizing = "bottom";
  34.          position = "32 39";
  35.          extent = "236 24";
  36.          minExtent = "8 8";
  37.          visible = "1";
  38.          helpTag = "0";
  39.          lineSpacing = "2";
  40.          allowColorChars = "0";
  41.          maxChars = "-1";
  42.       };
  43.       new GuiButtonCtrl() {
  44.          profile = "GuiButtonProfile";
  45.          horizSizing = "right";
  46.          vertSizing = "top";
  47.          position = "95 88";
  48.          extent = "110 23";
  49.          minExtent = "8 8";
  50.          visible = "1";
  51.          command = "MessageCallback(MessageBoxOKDlg,MessageBoxOKDlg.callback);";
  52.          accelerator = "return";
  53.          helpTag = "0";
  54.          text = "OK";
  55.             simpleStyle = "0";
  56.       };
  57.    };
  58. };
  59. //--- OBJECT WRITE END ---
  60.